import  styled from 'styled-components'

export const HomeWraper = styled.div`
    overflow: hidden;
    width: 960px;
    margin: 0 auto; 
    padding-bottom: 200px;
`
 
export const HomeLeft = styled.div` 
   margin-left: 15px;
   padding-top: 30px;
   width: 625px;
   float: left;
   .banner-image{
       width: 625px;
       height: 270px;
       background-color: goldenrod;
   }
`
export const HomeRight = styled.div`
    width: 280px;  
    float: right;
`

export const TopicWrapper = styled.div`
    padding: 20px 0 10px 0;
    overflow: hidden;
    margin-left: -15px;
    border-bottom: 1px solid #dcdcdc;
`
export const  TopItem = styled.div`
    float:left;
    background-color: #f7f7f7;
    height: 32px;
    line-height: 32px;
    margin-right: 10px;
    font-size: 14px;
    color: #333;
    border:  1px solid  #dcdcdc;
    border-radius: 4px;
    padding: 0 5px;
    margin-bottom: 18px;
    .toppic-pic{
        display: block;
        float: left;
        width: 15px;
        margin-top: 4px;
        margin-right: 10px; 
       
    }
` 
export const  ListItem = styled.div`
    overflow: hidden;
    padding: 20px 0;
    border-bottom: 1px solid #ececec;
    .pic{
        width: 125px;
        height: 100px;
        display: block;
        float: right;
        border-radius: 10px;
    }
`

export const  ListInfo = styled.div`
    width: 500px;
    float: left;
    .title{
        font-size: 18px;
        line-height: 27px;
        font-weight: bold;
        color: #333;
    }
    .desc{
        font-size: 13px;
        line-height: 24px; 
        color: #999;
    }
`

export const  RecommendWrapper = styled.div`
    margin: 30px 0;
    width: 280px;
` 
export const  RecommendItem = styled.div`
    width: 280px;
    height: 50px;
    margin-bottom: 20px;
    background-color: ${(props)=> props.imgBgColor };
`


export const WriterWrapper = styled.div`
 width: 278px;
 border: 1px solid #dcdcdc;
 border-radius: 3px;
 height: 300px;
 line-height: 300px;
 text-align: center;
`

export const  LoadMore = styled.div`
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 30px 0;
    background: #a5a5a5;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
`

export const BackTop = styled.div`
    position: fixed;
    right: 100px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    border: 1px solid #ccc;
    font-size: 14px;
`